package org.jhh.domain.activity.service;

import org.jhh.domain.activity.model.entity.ActivityAccountEntity;
import org.jhh.domain.activity.model.entity.DeliveryOrderEntity;
import org.jhh.domain.activity.model.entity.SkuRechargeEntity;
import org.jhh.domain.activity.model.entity.UnpaidActivityOrderEntity;

public interface IRaffleActivityAccountQuotaService {

    /*创建sku账户充值订单 给用户增加抽奖次数*/
    UnpaidActivityOrderEntity createOrder(SkuRechargeEntity skuRechargeEntity);

    Integer queryRaffleActivityAccountDayPartakeCount(Long activityId, String userId);

    ActivityAccountEntity queryActivityAccountEntity(Long activityId, String userId);

    Integer queryRaffleActivityAccountPartakeCount(Long activityId, String userId);
    /**
     * 订单出货 - 积分充值
     * @param deliveryOrderEntity 出货单实体对象
     */
    void updateOrder(DeliveryOrderEntity deliveryOrderEntity);
}
